package log;

public class LogItem {
	public int num,t,before,after;
	public char variavel,operacao;
	public LogItem(int Num,int T,char Operacao,char Variavel,int Before,int After){
		num=Num;
		t=T;
		operacao=Operacao;
		variavel=Variavel;
		before=Before;
		after=After;
	}
	public LogItem(int Num,int T,char Operacao){
		num=Num;
		t=T;
		operacao=Operacao;
		variavel = ' ';
	}
	public void imprimir(){
		if(variavel == ' ')
			System.out.println("[" + num + "|T"+t+"|"+ operacao + "]");
		else
			System.out.println("[" + num + "|T"+t+"|"+ operacao + "|"+variavel + "|"+before + "|"+ after + "]");
	}
}
